package com.flight.trans.bean;

import com.flight.trans.util.CommonUtils;
import com.flight.trans.bean.TugBean.TugData;

import java.util.List;

/**
 * 入库运单列表
 */
public class LeavePortWarehousingDetailBean {

    private int code;
    private Object msg;
    private WarehousingDetailData data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public WarehousingDetailData getData() {
        return data;
    }

    public void setData(WarehousingDetailData data) {
        this.data = data;
    }

    public static class WarehousingDetailData {
        private boolean save = true;
        private OutwardStorageData outwardStorageData;
        private List<WarehousingMainInfoBean> mainList;
        private List<TugData> containerList;

        public OutwardStorageData getOutwardStorageData() {
            return outwardStorageData;
        }

        public void setOutwardStorageData(OutwardStorageData outwardStorageData) {
            this.outwardStorageData = outwardStorageData;
        }

        public List<WarehousingMainInfoBean> getMainList() {
            return mainList;
        }

        public void setMainList(List<WarehousingMainInfoBean> mainList) {
            this.mainList = mainList;
        }

        public boolean isSave() {
            return save;
        }

        public void setSave(boolean save) {
            this.save = save;
        }

        public List<TugData> getContainerList() {
            return containerList;
        }

        public void setContainerList(List<TugData> containerList) {
            this.containerList = containerList;
        }

        public static class OutwardStorageData {

            private int id;
            private int outwardOrderDetailId;
            private int outwardOrderId;
            private int bizOrderDetailId;
            private String orderNo;
            private int num;
            private double realWeight;
            private int cargoTypeId;
            private String cargoTypeName;
            private String tradeName;
            private String etd;
            private String deap;
            private String deapStr;
            private String flightNo2;
            private int flightId;
            private String fldt;
            private String senderName;
            private String createBy;
            private String remark;
            private double floorCapacity ;
            private String stateStr ;
            private int state ;
            private String customVolume ;
            private double customDetailLength ;
            private double customDetailWidth ;
            private double customDetailHeight ;
            private List<ChannelBean.ChannelData> channelList ;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getFlightId() {
                return flightId;
            }

            public void setFlightId(int flightId) {
                this.flightId = flightId;
            }

            public int getOutwardOrderDetailId() {
                return outwardOrderDetailId;
            }

            public void setOutwardOrderDetailId(int outwardOrderDetailId) {
                this.outwardOrderDetailId = outwardOrderDetailId;
            }

            public int getOutwardOrderId() {
                return outwardOrderId;
            }

            public void setOutwardOrderId(int outwardOrderId) {
                this.outwardOrderId = outwardOrderId;
            }

            public String getEtd() {
                return etd;
            }

            public void setEtd(String etd) {
                this.etd = etd;
            }

            public int getBizOrderDetailId() {
                return bizOrderDetailId;
            }

            public void setBizOrderDetailId(int bizOrderDetailId) {
                this.bizOrderDetailId = bizOrderDetailId;
            }

            public String getDeapStr() {
                return deapStr;
            }

            public void setDeapStr(String deapStr) {
                this.deapStr = deapStr;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public double getRealWeight() {
                return realWeight;
            }

            public void setRealWeight(double realWeight) {
                this.realWeight = realWeight;
            }

            public int getCargoTypeId() {
                return cargoTypeId;
            }

            public void setCargoTypeId(int cargoTypeId) {
                this.cargoTypeId = cargoTypeId;
            }

            public String getCargoTypeName() {
                return cargoTypeName;
            }

            public void setCargoTypeName(String cargoTypeName) {
                this.cargoTypeName = cargoTypeName;
            }

            public String getTradeName() {
                return tradeName;
            }

            public void setTradeName(String tradeName) {
                this.tradeName = tradeName;
            }

            public String getDeap() {
                return deap;
            }

            public void setDeap(String deap) {
                this.deap = deap;
            }

            public String getFlightNo() {
                return flightNo2;
            }

            public void setFlightNo(String flightNo2) {
                this.flightNo2 = flightNo2;
            }

            public String getFldt() {
                return fldt;
            }

            public void setFldt(String fldt) {
                this.fldt = fldt;
            }

            public String getSenderName() {
                return senderName;
            }

            public void setSenderName(String senderName) {
                this.senderName = senderName;
            }

            public String getCreateBy() {
                return createBy;
            }

            public void setCreateBy(String createBy) {
                this.createBy = createBy;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public double getFloorCapacity() {
                return floorCapacity;
            }

            public void setFloorCapacity(double floorCapacity) {
                this.floorCapacity = floorCapacity;
            }

            public String getStateStr() {
                return stateStr;
            }

            public void setStateStr(String stateStr) {
                this.stateStr = stateStr;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String getCustomVolume() {
                return customVolume;
            }

            public void setCustomVolume(String customVolume) {
                this.customVolume = customVolume;
            }

            public double getCustomDetailLength() {
                return customDetailLength;
            }

            public void setCustomDetailLength(double customDetailLength) {
                this.customDetailLength = customDetailLength;
            }

            public double getCustomDetailWidth() {
                return customDetailWidth;
            }

            public void setCustomDetailWidth(double customDetailWidth) {
                this.customDetailWidth = customDetailWidth;
            }

            public double getCustomDetailHeight() {
                return customDetailHeight;
            }

            public void setCustomDetailHeight(double customDetailHeight) {
                this.customDetailHeight = customDetailHeight;
            }

            public List<ChannelBean.ChannelData> getChannelList() {
                return channelList;
            }

            public void setChannelList(List<ChannelBean.ChannelData> channelList) {
                this.channelList = channelList;
            }
        }

        public static class WarehousingMainInfoBean {
            private int id;
            private int orderDetailId;
            private int transportType = 1;
            private String transportCode;
            private double transportWeight ;
            private int num;
            private double weight;
            private double volume;
            private int warehouseAreaId;
            private String warehouseAreaName ;
            private int channelId;
            private String channelCode ;
            private String palletCode ;
            private double palletWeight ;
            private String delFlag;
            private int createBy;
            private String createTime;
            private int updateBy;
            private String updateTime;
            private String remark;
            private List<MainInfoDetail> detailList;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getOrderDetailId() {
                return orderDetailId;
            }

            public void setOrderDetailId(int orderDetailId) {
                this.orderDetailId = orderDetailId;
            }

            public int getTransportType() {
                return transportType;
            }

            public void setTransportType(int transportType) {
                this.transportType = transportType;
            }

            public String getTransportCode() {
                return transportCode;
            }

            public void setTransportCode(String transportCode) {
                this.transportCode = transportCode;
            }

            public double getTransportWeight() {
                return transportWeight;
            }

            public void setTransportWeight(double transportWeight) {
                this.transportWeight = transportWeight;
            }

            public String getWarehouseAreaName() {
                return warehouseAreaName;
            }

            public void setWarehouseAreaName(String warehouseAreaName) {
                this.warehouseAreaName = warehouseAreaName;
            }

            public String getChannelCode() {
                return channelCode;
            }

            public void setChannelCode(String channelCode) {
                this.channelCode = channelCode;
            }

            public String getPalletCode() {
                return palletCode;
            }

            public void setPalletCode(String palletCode) {
                this.palletCode = palletCode;
            }

            public double getPalletWeight() {
                return palletWeight;
            }

            public void setPalletWeight(double palletWeight) {
                this.palletWeight = palletWeight;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public double getWeight() {
                return weight;
            }

            public void setWeight(double weight) {
                this.weight = weight;
            }

            public double getVolume() {
                return volume;
            }

            public void setVolume(double volume) {
                this.volume = volume;
            }

            public int getWarehouseAreaId() {
                return warehouseAreaId;
            }

            public void setWarehouseAreaId(int warehouseAreaId) {
                this.warehouseAreaId = warehouseAreaId;
            }

            public int getChannelId() {
                return channelId;
            }

            public void setChannelId(int channelId) {
                this.channelId = channelId;
            }

            public String getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(String delFlag) {
                this.delFlag = delFlag;
            }

            public int getCreateBy() {
                return createBy;
            }

            public void setCreateBy(int createBy) {
                this.createBy = createBy;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public int getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(int updateBy) {
                this.updateBy = updateBy;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public List<MainInfoDetail> getDetailList() {
                return detailList;
            }

            public void setDetailList(List<MainInfoDetail> detailList) {
                this.detailList = detailList;
            }

            public static class MainInfoDetail {
                private int id;
                private int outwardStorageId;
                private int detailNumber;
                private double detailWeight;
                private double detailLength;
                private double detailWidth;
                private double detailHeight;
                private String delFlag;
                private int createBy;
                private String createTime;
                private int updateBy;
                private String updateTime;
                private String remark;
                private double volume;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getOutwardStorageId() {
                    return outwardStorageId;
                }

                public void setOutwardStorageId(int outwardStorageId) {
                    this.outwardStorageId = outwardStorageId;
                }

                public int getDetailNumber() {
                    return detailNumber;
                }

                public void setDetailNumber(int detailNumber) {
                    this.detailNumber = detailNumber;
                }

                public double getDetailWeight() {
                    return detailWeight;
                }

                public void setDetailWeight(double detailWeight) {
                    this.detailWeight = detailWeight;
                }

                public double getDetailLength() {
                    return CommonUtils.getDouble(detailLength);
                }

                public void setDetailLength(double detailLength) {
                    this.detailLength = detailLength;
                }

                public double getDetailWidth() {
                    return CommonUtils.getDouble(detailWidth);
                }

                public void setDetailWidth(double detailWidth) {
                    this.detailWidth = detailWidth;
                }

                public double getDetailHeight() {
                    return CommonUtils.getDouble(detailHeight);
                }

                public void setDetailHeight(double detailHeight) {
                    this.detailHeight = detailHeight;
                }

                public String getDelFlag() {
                    return delFlag;
                }

                public void setDelFlag(String delFlag) {
                    this.delFlag = delFlag;
                }

                public int getCreateBy() {
                    return createBy;
                }

                public void setCreateBy(int createBy) {
                    this.createBy = createBy;
                }

                public String getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(String createTime) {
                    this.createTime = createTime;
                }

                public int getUpdateBy() {
                    return updateBy;
                }

                public void setUpdateBy(int updateBy) {
                    this.updateBy = updateBy;
                }

                public String getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(String updateTime) {
                    this.updateTime = updateTime;
                }

                public String getRemark() {
                    return remark;
                }

                public void setRemark(String remark) {
                    this.remark = remark;
                }

                public double getVolume() {
                    return volume;
                }

                public void setVolume(double volume) {
                    this.volume = volume;
                }
            }
        }
    }
}
